package com.dsr.service;

import com.dsr.consts.Result;
import com.dsr.entity.Collect;
import com.dsr.entity.Spit;

import java.util.List;

/**
 * (Spit)表服务接口
 *
 * @author dsr
 * @since 2020-09-20
 */
public interface SpitService {

    Result getEntity(String Id);

    Result save(Spit spit);

    Result update(Spit spit);

    Result delete(String Id);

    Result query(int page, int size, Spit spit, String type);

    Result list();

    Result commitSum();

}